﻿namespace OnlineTestsModels
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    public class Question
    {
        public int Id { get; set; }
        public string Title { get; set; }
       
        public int TestId { get; set; }
        public virtual Test Test { get; set; }
        public int CorrectAnswerId { get; set; }
        public virtual ICollection<Answer> Answers { get; set; }

        public Question()
        {
            this.Answers = new HashSet<Answer>();
        }
    }
}
